<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="html" uri="http://struts.apache.org/tags-html" %>
<%@ taglib prefix="bean" uri="http://struts.apache.org/tags-bean" %>
<%@ taglib prefix="logic" uri="http://struts.apache.org/tags-logic" %>
<%@ page import="suaps.bdd.*" %>
<html:html>
	<head>
		<title><bean:message key="titre.listepersonnes"/></title>
	</head>
	<body>
		<table border="1">
			<thead>
				<tr>
					<th><bean:message key="colonne.idPersonne"/></th>
					<th><bean:message key="colonne.nom"/></th>
					<th><bean:message key="colonne.prenom"/></th>
					<th><bean:message key="colonne.anneeDeNaissance"/></th>
					<th><bean:message key="colonne.sexe"/></th>
					<th><bean:message key="colonne.adresse"/></th>
					<th><bean:message key="colonne.ville"/></th>
					<th><bean:message key="colonne.codePostal"/></th>
					<th><bean:message key="colonne.telephone"/></th>
					<th><bean:message key="colonne.mail"/></th>
					
				</tr>
			</thead>
			<tbody>
				<logic:iterate id="personne" name="LISTE_PERSONNES" type="suaps.bdd.PersonneBean">
					<tr>
						<td><bean:write name="personne" property="idPersonne"/></td>
						<td><bean:write name="personne" property="nom"/></td>
						<td><bean:write name="personne" property="prenom"/></td>
						<td><bean:write name="personne" property="anneeDeNaissance"/></td>
						<td><bean:write name="personne" property="sexe"/></td>
						<td><bean:write name="personne" property="adresse"/></td>
						<td><bean:write name="personne" property="ville"/></td>
						<td><bean:write name="personne" property="codePostal"/></td>
						<td><bean:write name="personne" property="telephone"/></td>
						<td><bean:write name="personne" property="mail"/></td>
						
					</tr>
				</logic:iterate>
			</tbody>
		</table>		
	</body>
</html:html>